package com.dating.libs.web.services.datingservice;

import java.util.Hashtable;
import org.ksoap2.serialization.PropertyInfo;
import org.ksoap2.serialization.SoapObject;

public final class BasicInformation extends SoapObject {
    private int age;

    private java.lang.String curArea;

    private float distance;

    private java.lang.String email;

    private int gender;

    private int id;

    private java.lang.String lastLogin;

    private java.lang.String name;

    private boolean online;

    public BasicInformation() {
        super("", "");
    }
    public void setAge(int age) {
        this.age = age;
    }

    public int getAge(int age) {
        return this.age;
    }

    public void setCurArea(java.lang.String curArea) {
        this.curArea = curArea;
    }

    public java.lang.String getCurArea(java.lang.String curArea) {
        return this.curArea;
    }

    public void setDistance(float distance) {
        this.distance = distance;
    }

    public float getDistance(float distance) {
        return this.distance;
    }

    public void setEmail(java.lang.String email) {
        this.email = email;
    }

    public java.lang.String getEmail(java.lang.String email) {
        return this.email;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getGender(int gender) {
        return this.gender;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getId(int id) {
        return this.id;
    }

    public void setLastLogin(java.lang.String lastLogin) {
        this.lastLogin = lastLogin;
    }

    public java.lang.String getLastLogin(java.lang.String lastLogin) {
        return this.lastLogin;
    }

    public void setName(java.lang.String name) {
        this.name = name;
    }

    public java.lang.String getName(java.lang.String name) {
        return this.name;
    }

    public void setOnline(boolean online) {
        this.online = online;
    }

    public boolean getOnline(boolean online) {
        return this.online;
    }

    public int getPropertyCount() {
        return 9;
    }

    public Object getProperty(int __index) {
        switch(__index)  {
        case 0: return new Integer(age);
        case 1: return curArea;
        case 2: return new Float(distance);
        case 3: return email;
        case 4: return new Integer(gender);
        case 5: return new Integer(id);
        case 6: return lastLogin;
        case 7: return name;
        case 8: return new Boolean(online);
        }
        return null;
    }

    public void setProperty(int __index, Object __obj) {
        switch(__index)  {
        case 0: age = Integer.parseInt(__obj.toString()); break;
        case 1: curArea = (java.lang.String) __obj.toString(); break;
        case 2: distance = Float.parseFloat(__obj.toString()); break;
        case 3: email = (java.lang.String) __obj.toString(); break;
        case 4: gender = Integer.parseInt(__obj.toString()); break;
        case 5: id = Integer.parseInt(__obj.toString()); break;
        case 6: lastLogin = (java.lang.String) __obj.toString(); break;
        case 7: name = (java.lang.String) __obj.toString(); break;
        case 8: online = "true".equals(__obj.toString()); break;
        }
    }

    public void getPropertyInfo(int __index, Hashtable __table, PropertyInfo __info) {
        switch(__index)  {
        case 0:
            __info.name = "age";
            __info.type = Integer.class; break;
        case 1:
            __info.name = "curArea";
            __info.type = java.lang.String.class; break;
        case 2:
            __info.name = "distance";
            __info.type = Float.class; break;
        case 3:
            __info.name = "email";
            __info.type = java.lang.String.class; break;
        case 4:
            __info.name = "gender";
            __info.type = Integer.class; break;
        case 5:
            __info.name = "id";
            __info.type = Integer.class; break;
        case 6:
            __info.name = "lastLogin";
            __info.type = java.lang.String.class; break;
        case 7:
            __info.name = "name";
            __info.type = java.lang.String.class; break;
        case 8:
            __info.name = "online";
            __info.type = Boolean.class; break;
        }
    }

}
